
import org.jcsp.lang.*;

public class Reciv implements CSProcess {

  private int nLoops;
  private ChannelInputInt in;

  public Reciv (int nLoops, ChannelInputInt in) {
    this.nLoops = nLoops;
    this.in = in;
    
  }

  public void run () {

    int x = -1;

    System.out.print ("warming up ... ");

      x = in.read ();
 
      System.out.println("warming up ... " + x);


      new Parallel (
    	      new CSProcess[] {
    	        new Parallel ()
    	      }
    	    ).run ();
      
    }

  }


